import 'package:shared_preferences/shared_preferences.dart';

/// Checks if you are awesome. Spoiler: you are.
class Preferences {
// Obtain shared preferences.

  Future<void> setString(String key, String value) async =>
      (await SharedPreferences.getInstance()).setString(key, value);
  Future<String> getString(String key) async =>
      (await SharedPreferences.getInstance()).getString(key) ?? '';
}
